<template>
  <el-container>
    <el-header>
      <Menu></Menu>
    </el-header>
    <el-main>
      <el-container class="innercontainer">
        <el-aside width="150px">
          <span>我的团队</span>
          <router-link to="/team/project">
            <i class="el-icon-files"> 团队项目</i>
          </router-link>
          <router-link to="/team/news">
            <i class="el-icon-news"> 团队动态</i>
          </router-link>
          <router-link to="/team/member">
            <i class="el-icon-user"> 团队成员</i>
          </router-link>
          <router-link to="/team/task">
            <i class="el-icon-warning-outline"> 团队任务</i>
          </router-link>
        </el-aside>
        <el-main style="padding: 0px">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-main>
  </el-container>
</template>

<script>
import Menu from '../components/Menu.vue'

export default {
  name: 'Team',
  components: {
    Menu
  }
}
</script>

<style lang="less" scoped>
.el-header {
  position: fixed;
  padding: 0;
}
.el-main {
  padding-top: 70px;
}
.innercontainer {
  margin: auto;
  width: 980px;
  height: 980px;
  .el-aside {
    display: block;
    background-color: #fafafa;
    border: 1px solid #e1e2e5;
    span {
      display: block;
      width: 100%;
      height: 49px;
      line-height: 49px;
      font-size: 28px;
      border-bottom: 1px solid #e1e2e5;
    }
    i {
      width: 100%;
      height: 40px;
      line-height: 40px;
      font-size: 18px;
    }
  }
  .el-main {
    border: 1px solid #e1e2e5;
  }
}
</style>
